package com.airlines.system.vo;



/**
 *@Description 自定义对象-角色权限树节点
 *@Author  zhoujian
 *@Date 2018/9/17
 */
public class MenuAndFuncTreeNode {

    /**节点的标识属性*/
    private String id;

    /**节点显示的文本*/
    private String name;

    /**节点是否勾选**/
    private Boolean checked;

    /**节点是否展开*/
    private Boolean open;

    /**节点的图标*/
    private String icon;

    /**节点parentId属性*/
    private String pId;

    /**判断该节点是否是父节点*/
    private Boolean isParent;

    public MenuAndFuncTreeNode() {}
    public MenuAndFuncTreeNode(String id, String name, Boolean checked, Boolean open, String icon, String pId, Boolean isParent) {
        this.id = id;
        this.name = name;
        this.checked = checked;
        this.open = open;
        this.icon = icon;
        this.pId = pId;
        this.isParent = isParent;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getpId() { return pId; }

    public void setpId(String pId) { this.pId = pId; }

    public Boolean getParent() {
        return isParent;
    }

    public void setParent(Boolean parent) {
        isParent = parent;
    }
}
